import { configureStore } from '@reduxjs/toolkit'
import todoSlice from './slice'
const store = configureStore({
  reducer: {
    todoList: todoSlice.reducer,
  },
})

store.subscribe(() => {
  console.log(store.getState())
})
export default store
